/*
 * Crawler.h
 *
 *  Created on: 6 mei 2013
 *      Author: Wietse
 */

#ifndef CRAWLER_H_
#define CRAWLER_H_

#include "main.h"
#include "Vehicle.h"

#include <windows.h>
#include <GL/gl.h>
#include <GL/glu.h>
#include <GL/glut.h>
#include <stdio.h>
#include <stdlib.h>     /* srand, rand */
#include <time.h>
#include <math.h>
#include <string>

class Swarm;

class Crawler : public Vehicle {
private:
	double		angle;
	double		movement_timer;
	double		message_timer;
	bool		covered;
public:
	Crawler();
	Crawler(int, Position);
	virtual ~Crawler();

	bool		getCovered();
	void		setCovered(bool);
	bool 		inRange(Position*);
	void		update(Swarm*, double);
	void 		display();
};

#endif /* CRAWLER_H_ */
